package cn.com.roy.thread.t4_1_3.userconditonwaiterror;

public class MyThread extends Thread{
    private MyService service;

    public MyThread(MyService service){
        this.service = service;
    }

    @Override
    public void run() {
        super.run();
        service.await();
    }
}
